package com.itheima.reggie.service;

import com.itheima.reggie.entity.Orders;
import com.itheima.reggie.entity.Page;

public interface OrderService {
    /*下单*/
    void submit(Orders orders, Long userId);
    /*订单分页查询*/
    Page<Orders> page(Integer page, Integer pageSize, Long number,String beginTime,String endTime);
    /*历史订单分页查询*/
    Page<Orders> userPage(Integer page, Integer pageSize,Long number);
}
